#
#  OSPFv2 primary Makefile
#

.PHONY: clean tests testsuite

SHELL = /bin/sh

RELEASE = 0.2.0

#----------------------------------------------------------- SETUP

TOPDIR = ../../../..
include $(TOPDIR)/Makefile.common

JAVAC = javac -classpath $(SSFNET_TEST_CLASSPATH)
JAVA  = java  -classpath $(SSFNET_TEST_CLASSPATH)

#----------------------------------------------------------- MAKE ALL

all:    ospfv2
	@echo '------- SSF.OS.OSPFv2 BUILD COMPLETE --------'

#----------------------------------------------------------- MAKE OSPFv2

ospfv2:
	$(JAVAC) *.java
	(cd test; $(MAKE) classes)

#----------------------------------------------------------- MAKE CLEAN

clean:
	rm -f *.class *~
	(cd test; $(MAKE) clean)

#----------------------------------------------------------- MAKE TESTS

tests:
	(cd test; $(MAKE) tests)

#----------------------------------------------------------- MAKE TESTSUITE

testsuite: 
	(cd test; $(MAKE) testsuite)



